PreviousTracker indexSee it online !

(296/296) 1872 - XML: entity references break tree parsing and xref linkend= navigation

if you have a multiple file XML document linked together via &system; &entities; and an xref linkend= from one file to the id in another, and then there is also an &entity; &reference; before the xref, then XML plugin fails to show a tree, completion based on DTD is broken, and also linkend= navigation fails to work with hyperlinks.
A test case has been added that demonstrates the problem, with 1 file that has navigation working and another that does not.

Submitted ezust - 2017-02-05 19:50:57.406000 Assigned
Priority 5 Labels
Status open Group
Resolution None

Comments

2017-02-05 20:14:14.941000
ezust

$xml/test_data/dtd_with_xref> Adding dtd_with_xref
Adding dtd_with_xref/book_refguide.docbook
Adding dtd_with_xref/book_tutorials.docbook
Adding dtd_with_xref/index.docbook
Transmitting file data ...done
Committing transaction...
Committed revision 24601.

2017-02-05 20:23:58.779000
ezust

- **summary**: XML xrefs to DTD parsed entities break tree parsing and other things --> XML: entity references break tree parsing and xref linkend= navigation
- **Group**: -->

2017-02-05 20:29:10.273000
ezust

- Description has changed:

Diff:

~~~~

--- old
+++ new
@@ -1,2 +1,3 @@
-if you have a multiple file XML document linked together via &parsed; &entities; and an xref linkend= from one file to the id in another, XML plugin fails to show a tree and also linkend= fails to work with hyperlinks.
-I will add a nice test case to the plugin source shortly.
+if you have a multiple file XML document linked together via &system; &entities; and an xref linkend= from one file to the id in another, and then there is also an &entity; &reference; before the xref, then XML plugin fails to show a tree, completion based on DTD is broken, and also linkend= navigation fails to work with hyperlinks.
+A test case has been added that demonstrates the problem, with 1 file that has navigation working and another that does not.
+

~~~~